Optimal. Leaf size=93 \[ 6 b n \text{PolyLog}\left (2,\frac{e \sqrt [3]{x}}{d}+1\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )-6 b^2 n^2 \text{PolyLog}\left (3,\frac{e \sqrt [3]{x}}{d}+1\right )+3 \log \left (-\frac{e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.13143, antiderivative size = 93, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.208, Rules used = {2454, 2396, 2433, 2374, 6589} \[ 6 b n \text{PolyLog}\left (2,\frac{e \sqrt [3]{x}}{d}+1\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )-6 b^2 n^2 \text{PolyLog}\left (3,\frac{e \sqrt [3]{x}}{d}+1\right )+3 \log \left (-\frac{e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2454
Rule 2396
Rule 2433
Rule 2374
Rule 6589
Rubi steps
\begin{align*} \int \frac{\left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2}{x} \, dx &=3 \operatorname{Subst}\left (\int \frac{\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{x} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac{e \sqrt [3]{x}}{d}\right )-(6 b e n) \operatorname{Subst}\left (\int \frac{\log \left (-\frac{e x}{d}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{d+e x} \, dx,x,\sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac{e \sqrt [3]{x}}{d}\right )-(6 b n) \operatorname{Subst}\left (\int \frac{\left (a+b \log \left (c x^n\right )\right ) \log \left (-\frac{e \left (-\frac{d}{e}+\frac{x}{e}\right )}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac{e \sqrt [3]{x}}{d}\right )+6 b n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \text{Li}_2\left (1+\frac{e \sqrt [3]{x}}{d}\right )-\left (6 b^2 n^2\right ) \operatorname{Subst}\left (\int \frac{\text{Li}_2\left (\frac{x}{d}\right )}{x} \, dx,x,d+e \sqrt [3]{x}\right )\\ &=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )^2 \log \left (-\frac{e \sqrt [3]{x}}{d}\right )+6 b n \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \text{Li}_2\left (1+\frac{e \sqrt [3]{x}}{d}\right )-6 b^2 n^2 \text{Li}_3\left (1+\frac{e \sqrt [3]{x}}{d}\right )\\ \end{align*}
Mathematica [B] time = 0.107424, size = 195, normalized size = 2.1 \[ 2 b n \left (\log (x) \left (\log \left (d+e \sqrt [3]{x}\right )-\log \left (\frac{e \sqrt [3]{x}}{d}+1\right )\right )-3 \text{PolyLog}\left (2,-\frac{e \sqrt [3]{x}}{d}\right )\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )-b n \log \left (d+e \sqrt [3]{x}\right )\right )+3 b^2 n^2 \left (-2 \text{PolyLog}\left (3,\frac{e \sqrt [3]{x}}{d}+1\right )+2 \log \left (d+e \sqrt [3]{x}\right ) \text{PolyLog}\left (2,\frac{e \sqrt [3]{x}}{d}+1\right )+\log \left (-\frac{e \sqrt [3]{x}}{d}\right ) \log ^2\left (d+e \sqrt [3]{x}\right )\right )+\log (x) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )-b n \log \left (d+e \sqrt [3]{x}\right )\right )^2 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.1, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{x} \left ( a+b\ln \left ( c \left ( d+e\sqrt [3]{x} \right ) ^{n} \right ) \right ) ^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} b^{2} \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n}\right )^{2} \log \left (x\right ) + \int \frac{3 \,{\left (b^{2} e \log \left (c\right )^{2} + 2 \, a b e \log \left (c\right ) + a^{2} e\right )} x - 2 \,{\left (b^{2} e n x \log \left (x\right ) - 3 \,{\left (b^{2} e \log \left (c\right ) + a b e\right )} x - 3 \,{\left (b^{2} d \log \left (c\right ) + a b d\right )} x^{\frac{2}{3}}\right )} \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n}\right ) + 3 \,{\left (b^{2} d \log \left (c\right )^{2} + 2 \, a b d \log \left (c\right ) + a^{2} d\right )} x^{\frac{2}{3}}}{3 \,{\left (e x^{2} + d x^{\frac{5}{3}}\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b^{2} \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n} c\right )^{2} + 2 \, a b \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n} c\right ) + a^{2}}{x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \log{\left (c \left (d + e \sqrt [3]{x}\right )^{n} \right )}\right )^{2}}{x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \log \left ({\left (e x^{\frac{1}{3}} + d\right )}^{n} c\right ) + a\right )}^{2}}{x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]